﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinFu.IoC.Configuration;

namespace CoreEx.Database.Query.Implementation
{
    /// <summary>
    /// Base class for implementing binary expressions.
    /// </summary>
    [Implements(typeof(IBinaryExpression))]
    public class BinaryExpression : ExpressionBase, IBinaryExpression
    {
        /// <summary>
        /// The left side expression of the <see cref="IBinaryExpression"/>
        /// </summary>
        public IExpression LeftExpression { get; set; }
       
        /// <summary>
        /// The right side expression of the <see cref="IBinaryExpression"/>
        /// </summary>
        public IExpression RightExpression { get; set; }

        public BinaryExpressionType ExpressionType { get; set;}
        
    }
}